package com.school.service;

import com.school.controller.vo.IndexCategoryVO;
import com.school.entity.GoodsCategory;
import com.school.util.PageQueryUtil;
import com.school.util.PageResult;

import java.util.List;

public interface GoodsCategoryService {
    PageResult getCategorysPage(PageQueryUtil pageQueryUtil);

    List<GoodsCategory> selectByLevelAndParentIdAndNumber(List<Long> parentsId, int categoryLevel);

    GoodsCategory getGoodsCategoryById(Long categoryId);

    List<IndexCategoryVO> getCategoriesForIndex();
}
